/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.response;

import java.util.ArrayList;
import java.util.List;

import com.yanlight.app.model.MenuItem;

/**
 * 
 * @author haolw
 * @time 2017/08/18
 */
public class MenuListResponse {
	private List<MenuItem> menus;

	public List<MenuItem> getMenus() {
		return menus;
	}

	public void setMenus(List<MenuItem> menus) {
		this.menus = menus;
	}

	public void addMenu(MenuItem item) {
		if (menus == null) {
			menus = new ArrayList<MenuItem>(8);
		}
		menus.add(item);
	}
}
